#!/bin/bash
DIR=$(cd "$(dirname "$0")";pwd)
tar_name=$(ls -1 ${DIR}| grep sshpass | grep -E ".tar.gz")
tar -zxvf ${DIR}/${tar_name} -C ${DIR} 
folder_name=$(ls -1l ${DIR} | grep -E '^d' | awk '{print $NF}')
cd ${DIR}/$folder_name
./configure && make && sudo make install
